package com.zzyl.nursing.task;

import com.zzyl.nursing.service.INursingTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("nursingTask")
public class NursingTask {
    @Autowired
    private INursingTaskService nursingTaskService;

    /**
     * 自动生成老人护理任务
     */
    public void createNursingTask(){
        nursingTaskService.createNursingTask();
    }
}
